package com.cjkj.system.api;

import com.cjkj.common.core.constant.ServiceNameConstants;
import com.cjkj.common.core.web.domain.AjaxResult;
import com.cjkj.system.api.factory.RemoteTJ03HealthReportFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 请求多参数监测仪报告接口
 */
@FeignClient(contextId = "remoteTJ03HealthReportService",value = ServiceNameConstants.SYSTEM_SERVICE,fallbackFactory = RemoteTJ03HealthReportFallbackFactory.class )
public interface RemoteTJ03HealthReportService {

    @GetMapping("/reports/tj03/heartRate")
    AjaxResult getHeartReports(@RequestParam("visitNo") Long visitNo);

    @GetMapping("/reports/tj03/bloodPressure")
    AjaxResult getBPReports(@RequestParam("visitNo") Long visitNo);

    @GetMapping("/reports/tj03/ecg")
    AjaxResult getEcgReports(@RequestParam("visitNo") Long visitNo);
}
